package com.umbrella.model.k3;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.umbrella.model.BaseVO;

/**
 *
 *
 * @author Wan, ChuanLong @ 08/20/2018
 */

@JsonInclude(JsonInclude.Include.NON_NULL)
public class VodPublishVO extends BaseVO {

	public final static Integer _INIT = 0;
	public final static Integer _ACTIVE = 1;
	public final static Integer _REMOVED = -1;
	
	public final static Integer _TYPE_OFFICIAL = 10;
	public final static Integer _TYPE_COACH_SHARE = 20;
	
	public final static Integer _CATEGORY_K3 = 30;
	public final static Integer _CATEGORY_DEV = 10;
	
	Integer id;
	String uuid;
	String name;
	@JsonIgnore
	String fullName;
	String title;
	String appId;
	String fileId;
	double price;
	Integer kaochang;
	String kaochangName;
	Integer province;
	String provinceName;
	Integer city;
	String cityName;
	//线路图
	String map;
	//纠偏
	Integer correctMap;
	String cover;
	String smallCover;
	
	Long duration;
	//播放次数
	Integer playTimes;
	//点赞数
	Integer likes;
	//是否收藏
	Boolean favorite;
	
	Boolean liked;
	
	Integer sub;
	//推荐， 当当前区域未提供k3视频时， 使用recommend
	Integer recommend;
	//视频分类：10:设备视频 ; 30:k3视频
	Integer category;
	//10表示自营 20表示第三方上传
	Integer type;
	@JsonIgnore
	Integer status;
	@JsonIgnore
	Integer userId;
	@JsonIgnore
	String openid;
	String userName;

	VodConfig config;
	@JsonIgnore
	Integer matchRate;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getFileId() {
		return fileId;
	}

	public void setFileId(String fileId) {
		this.fileId = fileId;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public Integer getKaochang() {
		return kaochang;
	}

	public void setKaochang(Integer kaochang) {
		this.kaochang = kaochang;
	}

	public String getKaochangName() {
		return kaochangName;
	}

	public void setKaochangName(String kaochangName) {
		this.kaochangName = kaochangName;
	}

	public Integer getProvince() {
		return province;
	}

	public void setProvince(Integer province) {
		this.province = province;
	}

	public String getProvinceName() {
		return provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public Integer getCity() {
		return city;
	}

	public void setCity(Integer city) {
		this.city = city;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getMap() {
		return map;
	}

	public void setMap(String map) {
		this.map = map;
	}

	public Integer getCorrectMap() {
		return correctMap;
	}

	public void setCorrectMap(Integer correctMap) {
		this.correctMap = correctMap;
	}

	public String getCover() {
		return cover;
	}

	public void setCover(String cover) {
		this.cover = cover;
	}

	public Long getDuration() {
		return duration;
	}

	public void setDuration(Long duration) {
		this.duration = duration;
	}

	public Integer getPlayTimes() {
		return playTimes;
	}

	public void setPlayTimes(Integer playTimes) {
		this.playTimes = playTimes;
	}

	public Integer getLikes() {
		return likes;
	}

	public void setLikes(Integer likes) {
		this.likes = likes;
	}

	public Boolean getLiked() {
		return liked;
	}

	public void setLiked(Boolean liked) {
		this.liked = liked;
	}

	public Boolean getFavorite() {
		return favorite;
	}

	public void setFavorite(Boolean favorite) {
		this.favorite = favorite;
	}

	public Integer getSub() {
		return sub;
	}

	public void setSub(Integer sub) {
		this.sub = sub;
	}

	public Integer getCategory() {
		return category;
	}

	public void setCategory(Integer category) {
		this.category = category;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Integer getMatchRate() {
		return matchRate;
	}

	public void setMatchRate(Integer matchRate) {
		this.matchRate = matchRate;
	}

	public VodConfig getConfig() {
		return config;
	}

	public void setConfig(VodConfig config) {
		this.config = config;
	}

	public static class VodConfig {

		String timeout;
		String us;
		String sign;
		String exper;

		public String getTimeout() {
			return timeout;
		}

		public void setTimeout(String timeout) {
			this.timeout = timeout;
		}

		public String getUs() {
			return us;
		}

		public void setUs(String us) {
			this.us = us;
		}

		public String getSign() {
			return sign;
		}

		public void setSign(String sign) {
			this.sign = sign;
		}

		public String getExper() {
			return exper;
		}

		public void setExper(String exper) {
			this.exper = exper;
		}
	}
}
